Eventin\Event\Api\EventController D

Total Complexity 206
Dependencies 13
Dependents 0
Total lines 1,529
Lines of code 989
Logical lines of code 448
Comment lines 262
Methods 31
Properties 3

Methods 31

Method Rating Maintainability Complexity Lines of code
prepare_item_for_database()
D
19
64 211
get_items()
C
34 22 91
prepare_item_for_response()
B
31 19 106
update_item()
A
41 13 53
create_item()
A
43 11 47
register_routes()
A
32 1 164
prepare_organizer()
S
50 7 29
prepare_speaker()
S
50 7 29
prepare_meeting_link()
S
49 7 28
delete_items()
S
51 6 27
update_author()
S
51 5 24
convert_elementor_to_wordpress()
S
60 5 14
export_items()
S
60 5 12
delete_item()
S
51 3 28
is_etn_post_type_supported_by_elementor()
S
62 4 11
clone_item()
S
54 3 19
import_items()
S
59 3 13
get_event_list()
S
57 2 17
assign_categories()
S
66 3 8
assign_tags()
S
66 3 8
get_authors()
S
63 2 11
check_post_edit_with_elementor()
S
66 2 8
import_permissions_check()
S
80 1 3
export_permissions_check()
S
80 1 3
get_item_permissions_check()
S
82 1 3
get_item()
S
68 1 7
create_item_permissions_check()
S
80 1 3
update_item_permissions_check()
S
80 1 3
get_item_schema()
S
91 1 2
delete_item_permissions_check()
S
80 1 3
__construct()
S
77 1 4